﻿ 
  <!--插入置顶商品代码-->
 <h1>
    #set ($ProductTop=${xf.GetTopProduct()})
    <a href="index.aspx" class="deal-today-link">
        今日团购：</a> 
    <a title="$ProductTop.Title" href="/team.aspx?id=$ProductTop.ID" class="deal-today-link-xx">
        $ProductTop.Title</a>
</h1>
<div class="main">
    <div class="deal-buy">
        <div class="deal-price-tag">
        </div>
                    
        <p class="deal-price">
            <strong>
                ￥$ProductTop.PriceNow</strong>
                        
            <a href="/team.aspx?id=$ProductTop.ID"><span class="deal-price-buy"></span></a>
                        
        </p>
                    
    </div>
    <table class="deal-discount">
        <tbody><tr>
            <th>
                原价
            </th>
            <th>
                折扣
            </th>
            <th>
                节省
            </th>
        </tr>
        <tr>
            <td>
                ￥$ProductTop.PriceOriginal
            </td>
            <td>
                ${xf.ViewProductDiscount($ProductTop)}折
            </td>
            <td>
                ￥${xf.ViewPriceDiscount($ProductTop)}
            </td>
        </tr>
    </tbody></table>
<!--        $xf.DiffDate-->
    <div diff="$xf.DiffDate($ProductTop.EndTime)" curtime="1345106102000" id="Div1" class="deal-box deal-timeleft deal-on">
        <h3>
        </h3>
        <div class="limitdate">
            <ul id="counter"><span> ${xf.ViewDiffDate($ProductTop).Days} </span>天<span> ${xf.ViewDiffDate($ProductTop).Hours} </span>时<span> ${xf.ViewDiffDate($ProductTop).Minutes} </span>分</ul>
        </div>
    </div>
                
    <div id="deal-status" class="deal-box deal-status deal-status-open">
        <p class="deal-buy-tip-top">
            <strong>
                $xf.GetCompleteOrder($ProductTop)</strong> 人已购买</p>
                    
        <p style="line-height: 200%;" class="deal-buy-on">
            <img src="${xf.Page.TemplatePath}images/deal-buy-succ.gif">
            团购成功
            可以继续购买</p>
                    
    </div>
                
</div>
<div class="side">
    <div id="team_images" class="deal-buy-cover-img">
        <div id="zk">
            <p>
                <span class="zk">
                    ${xf.ViewProductDiscount($ProductTop)}</span></p>
        </div>
        <img width="440" height="280" title="$product.Title" class="dynload" src="$xf.ViewPicture($ProductTop,false)">
                    
    </div>
    <div class="digest">
        $ProductTop.Subtitle</div>
</div>